package com.reconcile.phone.business.domain.bo;

import com.reconcile.phone.common.core.validate.AddGroup;
import com.reconcile.phone.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * Author: liuliyou
 * Date: 2025/8/7
 */
@Data
public class RpPhoneOrderBo {

    /**
     * 主键id
     */
    @NotNull(message = "id不能为空", groups = {EditGroup.class})
    private Long phoneOrderId;
    /**
     * 订单编号
     */
    private String orderCode;
    /**
     * 目标手机号
     */
    private String targetPhone;
    /**
     * 虚拟号
     */
    private String virtualPhone;
    /**
     * 支付金额
     */
    @Digits(integer = 3, fraction = 2, message = "支付金额,整数上限3位,小数上限2位", groups = {AddGroup.class, EditGroup.class})
    private BigDecimal payAmount;
}
